package com.coolgor.coldot.service.stock;

import com.coolgor.coldot.entity.stock.StockInfo;
import com.coolgor.coldot.dto.stock.StockInfoExecution;
import com.coolgor.coldot.exceptions.stock.StockInfoOperationException;

import java.util.List;


public interface StockInfoService {

	StockInfoExecution getByID(Long recordID);

	StockInfoExecution getList(StockInfo stockInfoCondition, int pageIndex, int pageSize);

	StockInfoExecution add(StockInfo stockInfo) throws StockInfoOperationException;

	StockInfoExecution modify(StockInfo stockInfo) throws StockInfoOperationException;

	StockInfoExecution remove(Long recordID) throws StockInfoOperationException;

	StockInfoExecution remove(StockInfo stockInfo) throws StockInfoOperationException;

	StockInfoExecution removeBatchByID(List<Long> recordIDList) throws StockInfoOperationException;

	StockInfoExecution removeBatch(List<StockInfo> stockInfoList) throws StockInfoOperationException;

}
